<?php 


require_once("../include/conn.php");

$sql_up="select * from bl_admin   where id = '1'  ";
$cn_up=mysql_db_query($db_name,$sql_up);

$row_up = mysql_fetch_row($cn_up); 

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="javascript" src="changecheck.js"></script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>管理员信息修改</title>
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="admin_ok.php" method="post"  name="myform" onSubmit="return changecheck();" >
  <table width="100%"  border="0" cellpadding="0" cellspacing="8" class="tdbg">
    <tr>
      <th colspan="2" class="topbg">修改管理员信息</th>
    </tr>
    <tr>
      <td width="119" align="right">用户名：</td>
      <td width="846"><input name="name" type="text" id="name" readonly="true" value="<?php echo $row_up[1]; ?>"></td>
    </tr>	
 <tr>
      <td align="right">旧密码：</td>
      <td>

        <input name="old_pwd" type="password" id="old_pwd"  >
	  </td>
    </tr>
    <!-- <tr>
      <td align="right">权限：</td>
      <td><select name="c_name" id="c_name">
        <option value="6" <?php//  if($row_up[2]==6) {?> selected  <?php// }?>>高级管理员</option>
        <option value="1" <?php//  if($row_up[2]==1) {?> selected  <?php// }?>>普通管理员</option>
      </select></td>
    </tr> -->
    <tr>
      <td align="right">新密码</td>
      <td><input name="pwd" type="password" id="pwd"></td>
    </tr>
    <tr>
      <td align="right">确认新密码：</td>
      <td>	   
        <input name="cm_pwd" type="password" id="cm_pwd">
    
      </td></tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><input type="submit" name="Submit" value="提交">
        
      <input type="reset" name="Submit" value="重置"></td>
    </tr>
  </table>
</form>
</body>
</html>
<?php //}?>